package com.mingloucct.payment_ws.service.impl;

import com.mingloucct.payment_ws.dao.IPhotoDao;
import com.mingloucct.payment_ws.entity.Photo;
import com.mingloucct.payment_ws.service.IPhotoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PhotoService implements IPhotoService{
    @Autowired
    IPhotoDao iPhotoDao;

    @Override
    public List<Photo> selectPhotoInfoByCid(String customID) {
        return iPhotoDao.selectPhotoInfoByCid(customID);
    }
}
